import java.sql.Array;

public class test {
    public static String func(int[] arr) {
        String str = new String();
        str = "{";
        for (int i = 0; i < arr.length; i++) {
            str += arr[i];
            str += " ";
        }
        str += "}";
        return str;
    }

    public static void main(String[] args) {
        int[] arr = new int[]{1, 2, 3, 4, 5};

        System.out.println(func(arr));
    }
}
